/*
 * Created by SharpDevelop.
 * User: Robert
 * Date: 7/13/2006
 * Time: 11:12 AM
 */

using System;
using System.Text;

namespace cs2335.cvslab.person
{
	/// <summary>
	/// This class represents a person.
	/// </summary>
	public class Person1 : Person
	{
		public Person1(string pname) : base(pname)
		{
		}
		///<summary>
		///  This method should take the input
		///  and rotate the characters 2 places
		///  for example, given the input gtg123b, it
		///  should return "g123bgt".
		/// </summary>
		/// <param name="input">
		///   The string to perform the operation on
		/// </param>
		public override string Process(string input)
		{
            string newString = input.Substring(2,input.Length-2);
            newString += input.Substring(0, 2);
			return newString;
		}

	}
}
